<php>
	if(is_app){
</php>
<div class="page-header">
	<h1 class="app-hidden">{$name}</h1>
	<div class="split"></div>
	<div class="layui-input-inline">
		<form name="form_search" id="form_search" method="post" >
			<input  class="layui-input" type="text" name="keyword" id="keyword"/>
			<a class="add-on" id="submit_search"><i class="fa fa-search" ></i></a>
		</form>
	</div>
	<a class="toggle_adv_search" id="toggle_adv_search"><i id="toggle_adv_search_icon" class="fa fa-chevron-down"></i></a>
</div>
<php>
	}else{
</php>
<div class="page-header" style="border-left:1px solid #ccc;margin-top:0px;margin-bottom: 10px;">
	<div class="layui-input-inline split" >
		<form name="form_search" id="form_search" method="post" >
			<input  class="layui-input" type="text" name="keyword" id="keyword"/>
			<a class="add-on" id="submit_search"><i class="fa fa-search" ></i></a>
		</form>
	</div>
	<a class="toggle_adv_search" id="toggle_adv_search"><i id="toggle_adv_search_icon" class="fa fa-chevron-down"></i></a>
</div>
<script>
	apiready = function() {
		app_title = "{$name}";
		api.sendEvent({
			name : 'set_title',
			extra : {
				name : app_title,
			}
		});
	}; 
</script>
<php>
	}
</php>